package com.ruoyi.system.domain.vo;


import com.ruoyi.system.domain.PmMaterialItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "BudgetGroupVo对象", description = "预算分组聚合VO（用于前端按组展示）")
public class BudgetGroupVo {

    @ApiModelProperty(value = "预算分组ID（NULL表示未分组）", example = "f81d4fae-7dec-11d0-a785-00a4fc33085")
    private String groupId;

    @ApiModelProperty(value = "预算分组名称", example = "地板配置选项")
    private String groupName;

    @ApiModelProperty(value = "物料分类代码", example = "3", notes = "对应MaterialCategoryEnum的code值")
    private Integer materialCategory;

    @ApiModelProperty(value = "物料分类名称", example = "硬装主材", notes = "对应MaterialCategoryEnum的desc值")
    private String materialCategoryName;

    @ApiModelProperty(value = "组内所有物料选项")
    private List<PmMaterialItem> items;

    @ApiModelProperty(value = "组内已确认的物料选项（NULL表示未确认）")
    private PmMaterialItem confirmedItem;
}
